interface Personer {
    id: number;
    name: string;
    age: number;

    myNum(): number;
}

class Stu implements Personer {
    id: number = 1;
    name: string = "test";
    age: number = 1;
    myNum(): number {
        return this.age;
    }
}

let obj1 = new Stu();
console.log(obj1.myNum());
